package com.violet.sharding.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
* @Author: wqf
* @Date: 2023/01/06
* @Description:
*/
@Data
@TableName(value = "alarm")
public class AlarmDomain {
    @TableId(value = "AlarmID", type = IdType.AUTO)
    private Integer alarmId;

    @TableField(value = "ID")
    private Long id;

    @TableField(value = "IDtype")
    private String idType;

    @TableField(value = "AlarmStatus")
    private String alarmStatus;

    @TableField(value = "AlarmType")
    private String alarmType;

    @TableField(value = "AlarmContent")
    private String alarmContent;

    @TableField(value = "CustomerId")
    private Integer customerId;

    @TableField(value = "CreateTime")
    private LocalDateTime createTime;

    @TableField(value = "StartTime")
    private LocalDateTime startTime;

    @TableField(value = "EndTime")
    private LocalDateTime endTime;

    @TableField(value = "LastTimes")
    private Integer lastTimes;
}